using UnityEngine;
using System.Collections;

public class ScreenToWorldPoint : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
		//Vector3 worldPt = Camera.main.ScreenToWorldPoint(Input.mousePosition.x, Input.mousePosition.y, Camera.main.);
		
//		Debug.DrawRay(worldPt, Vector3.up, Color.black);	
		/*Vector3 p = Camera.main.ScreenToWorldPoint(new Vector3(100, 100, Camera.main.nearClipPlane));
        Debug.color = Color.yellow;
        Debug.DrawSphere(p, 0.1F);*/
		
		
		
	}
	
	 void OnDrawGizmos() {
		/*
       Vector3 p = Camera.main.ScreenToWorldPoint(new Vector3(100, 100, Camera.main.nearClipPlane));
        Gizmos.color = Color.yellow;
        Gizmos.DrawSphere(p, 0.1F);*/
    }
}
